# -*- coding: UTF-8 -*-
from dataclasses import dataclass, field

from core.dto.dataset import DataSetDTO
from core.dto.page import PageDTO
from core.dto.success import SuccessDTO


@dataclass
class GridDTO(SuccessDTO):
    model: str = field(default="grid.result", repr=False)
    page: PageDTO = field(default_factory=PageDTO)
    result: DataSetDTO = field(default_factory=DataSetDTO)
